import request from '@/utils/request'

/**
 * 用户退出
 * @returns {Promise} 退出结果
 */
export const logout = () => {
  return request.post('/api/auth/logout')
}

export default {
  logout,
}
